package org.shunfeng.service;

import org.shunfeng.pojo.Delivery;
import org.shunfeng.pojo.SysUser;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

public interface DeliveryListService {

    List<Delivery> queryDeliveryListByUseId(Integer userId) throws SQLException;

    int addDelivery(Integer userId, Map<String, String[]> params) throws SQLException;

    int deleteDelivery(String uId) throws SQLException;

    Delivery getUserByDeliveryId(Integer id) throws SQLException;

    int updateDelivery(Integer userId, Map<String, String[]> params) throws SQLException;
}
